package com.briup.oagg.dataset.bean.basic;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 区带信息
 *
 * @author briup
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("oagg_dss_zone")
public class Zone implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String zoneId;

    private String basinId;

    private String zoneName;

    private String zoneInfo;

    @JsonIgnore  //前端不显示是否删除字段
    @TableField(select = false) //不作为select查询字段
    private Integer deleted;
}
